import axios from "./index";
import qs from 'qs'

export function login(user) {
    return axios.post('/api/login', qs.stringify(user));
}